
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../../global/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./frm.css" />
    <link rel="stylesheet" type="text/css" href="../../../global/css/my-css.css">
    <style>
        /* app内，不显示跳到下载app的链接 */
        a[href*="/views/down/index.html"],
        a[href*="://a.app.qq.com/o/simple.jsp"] {
            display: none;
        }
    </style>
</head>
<body>
	<div id="main" class="aui-content">
        <div id="post" style="background-color: #fff;"></div>
         <!-- 经过编辑的帖子显示编辑者 -->
        <div class="bg-white p10 c-6 s-14 m-t-15 aui-hide" id="post-redactor">  </div>

		<div id="post-Ad-container" class="post-Ad">
            <div id="post-Ad"></div>
        </div>
        <div id="post-lauders" style="background-color: #fff;"></div>


        <div id="hot-posts-frame" class="aui-hide">
			<div id="hot-part-title" class="pre-related aui-hide">
				<div class="row1">
					<div class="left"></div><div class="middle">相关推荐</div><div class="left"></div>
				</div>
				<div class="row2">
					<div class="en">Recommends</div>
				</div>
			</div>
    		<div id="hot-posts" class="aui-list"></div>
        </div>

        <div id="comments-frame" class="aui-hide">

    		<div id="pre-hot" class="pre-hot aui-hide">
    		    <img src="../../../global/image/fire.png">最火评论
    		</div>
    		<div id="hot-comments"></div>

    		<div id="pre-comments"></div>
    		<div id="comments"></div>
        </div>
	</div>
    <div class="hasClosed aui-hide"></div>
    <div id="share-earn" class="aui-hide" data-fname="share-earn" tapmode onclick="onFloatIconClicked(this);" ontouchstart="onFloatStart(this, event);" ontouchmove="onFloating(this, event);" ontouchend="onFloatEnd(this, event);">
        <div id="with-income" class="aui-hide">
            <div class="post-amount">
                <div>此贴共发放</div>
                <div id="post-total-money" class="money"></div>
            </div>
    		<img src="../../../global/image/share-earn4.png" />
        </div>

        <div id="plain-one" class="aui-hide">
    		<img data-lor="redpack_share_btn" src="../../../global/image/share-earn6.png" />
        </div>
	</div>

    <!-- 任务中心过来的 取消任务和开始任务按钮 -->
    <div id="task-option-vis" style="height:60px;width: 100%;"></div>
    <div class="flex bg-white p-t10 p-b10 aui-hide" id="task-option" style="position:fixed;bottom: 0;left: 0;width: 100%;">
        <div class="w-full t-c flex j-center">
            <div tapmode onclick="views.cancelTask(this);" id="post-cancel-task" data-taskid="" data-tid="" class="p-l10 p-r10 bg-gray b-gray c-6 r30 l-h30 s-14">取消任务</div>
        </div>
        <div class="w-full t-c flex j-center">
             <div tapmode onclick="openSubmitEvidence(this);" id="post-submit-envidence" data-taskid="" data-editUrl="" data-tid="" class="p-l10 p-r10 bg-blue c-f b-blue r30 l-h30 s-14">提交证据</div>
        </div>
    </div>
   
   <!-- 取消任务的弹框 -->

   <!-- 原本写的点击蒙版可以关闭弹窗，但是我自己考虑到误操作的情况，还是决定点击取消才能关闭弹窗 -->
    <!-- tapmode onclick="closeMask();" -->
   <div class="pop-mask aui-hide" id="cancel-pop-mask" data-taskid="" data-tid="">
       <!-- 如果不点击蒙版关闭弹框，就无需阻止冒泡 -->
        <!-- tapmode onclick="views.stopBubble();"  -->
       <div class="cancel-pop-box">
           <div class="p-b10">您确认取消任务吗？</div>
           <div>
               <textarea id="cancel-reason" placeholder="请输入取消理由（必填）" class="s-14 c-6" autofocus></textarea>
           </div>
           <div class="flex between m-t10">
               <div tapmode onclick="closeMask();" class="c-6">取消</div>
               <div tapmode onclick="confirmCancelTask();" class="c-blue">确定</div>
           </div>
       </div>
   </div>
</body>

<script id="tpl-post-lauders" type="text/x-dot-template">
    <section class="post-laud-part aui-border-b">
		<span class="post-laud-num-part aui-btn aui-btn-info aui-btn-outlined">
			<i class="aui-iconfont aui-icon-laud"></i>
			<span id="post-laud-num" class="post-laud-num">{{=it.total}}</span>
		</span>

		<span id="post-lauder-list" class="post-lauder-list aui-btn">
		{{~it.list :v:i}}
            {{? i < 10}}
            <img src="{{=v.avatar}}" data-uid="{{=v.uid}}" data-type="avatar" class="aui-img-round" />
            {{?}}
		{{~}}
		</span>
		<span class="more-lauders aui-pull-right" tapmode onclick="openLauders(this);">
			<i class="aui-iconfont aui-icon-more"></i>
		</span>
	</section>
</script>

<script id="tpl-post-image-ad" type="text/x-dot-template">
    <div data-fid="{{=it.fid}}" data-tid="{{=it.tid}}" data-url="{{=safeStr(it.url)}}" data-webtitle="{{=safeStr(it.webtitle)}}" data-from="post-image-ad" tapmode onclick="views.openPostFromList(this);" >
        <img src="{{=it.image}}"/>
    </div>
</script>

<script id="tpl-post-redactor" type="text/x-dot-template">
    编辑者：<span class="c-red">{{=it.redactor}}</span>
    原贴收益{{=it.original||0}}元，经过小编{{=it.redactor}}的编辑 ，此贴额外收益{{=it.extra}}元。
</script>


<!-- 会被 web（站外页）用到，故提出来. scss亦是  -->

<script id="tpl-post" type="text/x-dot-template">
    <section class="post-title-part aui-content aui-content-padded">
		{{? str_being(it.sharethumbnail)}}
			<!-- 见collectShareData中注释 -->
			<img class="share-thumb aui-hide" src="../../../global/image/logo.png" data-src="{{=absAssetUrl(it.sharethumbnail)}}" org-src="{{=absAssetUrl(it.sharethumbnail)}}"/>
		{{??}}
			<img class="share-thumb aui-hide" src="../../../global/image/logo.png" data-src="{{=httpGIdLogoUrl()}}" org-src="{{=httpGIdLogoUrl()}}"/>
		{{?}}
		<h3 class="post-subject">{{=decodeEmoji(it.subject)}}</h3>
	</section>

    {{? arr_being(it.semantic)}}
    <div id="tags-frame">
        <div class="tags-container">
            {{~it.semantic :v:i}}
                <div><label tapmode onclick="openForum(this);" data-name="{{=v}}" data-fid="{{=it.fid}}">{{=v}}</label></div>
            {{~}}
        </div>
    </div>
    {{?}}

    <section class="aui-content">
        <div class="auix-user-bar aui-card-list-header aui-card-list-user">
			<div tapmode onclick="views.openUCenterWin({{=it.authorid}}, &quot;{{=escapeStr(decodeEmoji(it.author))}}&quot;);">
	            <div class="avatar aui-card-list-user-avatar">
                    <img src="{{=it.avatar}}" data-type="avatar" class="aui-img-round" />
	            </div>
                <div class="aui-card-list-user-name">
                    <div>
    	                <span class="nick">{{=shortNick(decodeEmoji(it.author))}}</span>
                        {{? it.gender != 0}}
                            <img class="auix-gender" src="../../../global/image/gender{{=it.gender}}.png" >
                        {{?}}
                        <span class="labels">{{=app.userLV.getHtml(it.levelscore,it.ismaster,it.ismoderator, it.ispartner, it.ismember)}}</span>
                    </div>
	            </div>
			</div>
            <div class="post-date">
                {{? str_being(it.residecommunity)}}
    				<span class="reside">{{=it.residecommunity}}</span>
                {{?}}
                <span>{{=vdateF(it.dateline)}}</span>

                <span class="s-11 bg-blue c-f r30 p-l3 p-r3 aui-hide" id="original-author">原作者</span>

			</div>
			<div id="touch-ta" class="touch-ta aui-hide">
				<div class="aui-btn aui-btn-info aui-btn-outlined" data-uid="{{=it.authorid}}" data-nick="{{=decodeEmoji(it.author)}}" tapmode onclick="views.chatWithTa(this);">私信</div>
			</div>
        </div>
    </section>
    <section class="post-main-part aui-content aui-content-padded">
        <div class="post-content auix-text-selectable" >{{=myEmo.transText(fmtContent(it.content, false, getImgsCollector(it), true))}}</div>
	</section>

</script>

<script>

function getImgsCollector(json) {
    return (json.notCollectImgs ? undefined : window.imgsCollector);
}

// 此方法也会被web（站外页）用到
function collectShareData() {
    var post = $api.byId('post');
	var cont = $api.dom(post, '.post-content').innerText;
	var thumb = $api.dom(post, '.share-thumb');

	// 此代码为app和web共用。分享时，wx要求：app中须为本地路径（fs、wedgit等）且大小不能超过32K（否则iOS会分享失败），web中自然需要是http路径。故，app中用src，web中用org-src
	// 若无缩略图，则用logo.png，但org-src还是用server上的，否则qq中分享时有问题。
	// 最终，可以认为有图和无图的处理逻辑是一样的。
	var thumbUrl = $api.attr(thumb, 'src');
	var thumbUrlOrg = $api.attr(thumb, 'org-src');
	var title = $api.dom(post, '.post-subject').innerText;
	var desc = filterTags(cont).fix_substring(0, 100);

	return {
		title: title,
		desc: str_being(desc) ? desc : title,
		thumb: thumbUrl,
		thumbWeb: thumbUrlOrg,
	}
}

// app中分享一定要本地图片，故必须要将web图片保存到本地。如果用户手太快（还未等下载到本地就分享），在会应用logo
// 点击“分享”按钮时，调用此方法，获取当前本地图片
function getCurShareThumb() {
    var post = $api.byId('post');
	var thumb = $api.dom(post, '.share-thumb');
	var thumbUrl = $api.attr(thumb, 'src');
    return thumbUrl;
}

</script>


<script id="tpl-pre-comments" type="text/x-dot-template">
    <div class="pre-comments">
        <span>所有评论</span>
    </div>
</script>

<script id="tpl-comments" type="text/x-dot-template">
	{{~it :v:i}}
	<div class="comment thin-border-b" data-tid="{{=v.tid}}" data-pid="{{=v.pid}}" data-authorid="{{=v.authorid}}" data-author="{{=decodeEmoji(v.author)}}" data-dateline="{{=v.dateline}}">
        <a name="{{=v.dateline}}"></a>
        <a name="{{=v.pid}}"></a>
        <div class="auix-user-bar aui-card-list-header aui-card-list-user" tapmode onclick="ccn() && views.openUCenterWin({{=v.authorid}}, &quot;{{=escapeStr(decodeEmoji(v.author))}}&quot;);">
            <div class="avatar aui-card-list-user-avatar">
                <img src="{{=v.avatar}}" data-type="avatar" class="aui-img-round" />
            </div>
            <div class="aui-card-list-user-name">
				<div>
	                <span class="nick">{{=shortNick(decodeEmoji(v.author))}}</span>
                    {{? v.gender != 0}}
                        <img class="auix-gender" src="../../../global/image/gender{{=v.gender}}.png" >
                    {{?}}
					<span class="labels"><span data-author="{{=v.authorid}}">{{=showAsAuthor(v.authorid)}}</span>{{=app.userLV.getHtml(v.levelscore,v.ismaster,v.ismoderator, v.ispartner, v.ismember)}}</span>
				</div>
				<small>{{=v.position-1}}楼</small>
            </div>

            <div class="post-date">
                {{? str_being(v.residecommunity)}}
    				<span class="reside">{{=v.residecommunity}}</span>
                {{?}}
                <span>{{=vdateF(v.dateline)}}</span>
			</div>
        </div>

        <div class="aui-card-list-content-padded auix-text-selectable" >
			{{? v.reply && str_being(v.reply.pid)}}
			<div class="ref">
				回复 {{=decodeEmoji(v.reply.author)}} 于 {{=vdateF(v.reply.dateline)}} 发表的：
				{{=myEmo.transText(fmtContent(decodeEmoji(v.reply.message), true, undefined, true))}}
			</div>
			{{?}}
			<div class="main-content" tapmode onclick="ccn() && popupCommentAS(this);">
				{{=myEmo.transText(fmtContent(decodeEmoji(v.message), true, imgsCollector, true))}}
			</div>
		</div>

        <div class="comment-footer">
			<div class="comment-lauder-list">
			{{~v.recommendusers :u:ii}}
			    <img src="{{=u.avatar}}" data-type="avatar" data-uid="{{=u.uid}}" class="aui-img-round" />
			{{~}}
			</div>

            <div class="laud-comment" tapmode onclick="ccn() && laudComment(this);">
				<i class="aui-iconfont aui-icon-laud lauded{{=v.recommended}}"></i>
				<span class="lauds-num">{{=beingOnlyAbove0(v.recommends)}}</span>
			</div>

            <div class="reply-comment" tapmode onclick="ccn() && replyComment(this);">
				<i class="aui-iconfont aui-icon-comment"></i>
				<span class="reply">回复</span>
			</div>
        </div>
    </div>
	{{~}}
</script>

<script id="tpl-new-comment" type="text/x-dot-template">
	<div class="aui-card-list comment new-comment" data-tid="{{=it.tid}}" data-pid="{{=it.pid}}" data-author="{{=decodeEmoji(it.author)}}">
        <div class="auix-user-bar aui-card-list-header aui-card-list-user">
            <div class="avatar aui-card-list-user-avatar">
                <!-- <img src="{{=it.avatar}}" class="aui-img-round" /> -->
                <img src="{{=it.avatar}}" class="aui-img-round" />
            </div>
            <div class="aui-card-list-user-name">
                <div>{{=decodeEmoji(it.author)}}</div>
            </div>
            <div class="aui-card-list-user-info">刚刚</div>
        </div>
        <div class="aui-card-list-content-padded auix-text-selectable" >
			{{? obj_being(it.ref)}}
			<div class="ref">
				回复 {{=decodeEmoji(it.ref.author)}} 于 {{=vdateF(it.ref.dateline)}} 发表的：
				{{=myEmo.transText(it.ref.content)}}
			</div>
			{{?}}

			<div class="main-content">
				{{? 'text' == it.msg.type}}
					{{=myEmo.transText(it.msg.content.text)}}
				{{?? 'image' == it.msg.type}}
					<img src="{{=it.msg.content.orgPath}}" />
				{{?}}
			</div>
		</div>
	</div>
</script>



<script id="tpl-feed-row" type="text/x-dot-template">
	<div class="feed-row aui-list-item" style="{{=it.hideBottom ? 'border-bottom: none; background-image: none;' : ''}}" data-tid="{{=it.tid}}" data-url="{{=safeStr(it.url)}}" data-webtitle="{{=safeStr(it.webtitle)}}" data-fid="{{=(it.fid || it.columnid)}}" data-from="hot-posts" data-share="{{=it.isshare}}" data-position="{{=genPosition(it.position)}}" tapmode onclick="!window.noop && ccn() && views.openPostFromList(this);">
		<div class="main">
			{{? str_being(it.thumbnail)}}
				<div class="right">
					{{?it.duration}}
						<div class="play"></div>
						<div class="duration">{{=fmtSecond(it.duration)}}</div>
					{{?}}
					<img class="pic" src="{{=absAssetUrl(it.thumbnail)}}" data-src="{{=absAssetUrl(it.thumbnail)}}"></img>
				</div>
                <div class="left">
			{{??}}
                <div class="full">
			{{?}}
    				<div class="subject {{=str_being(it.banner) ? "banner-subject" : ""}}">
    					<span class="aui-hide">[{{=genPosition(it.position)}}]</span>

    					<span class="put-top {{=classOnPutTop(it)}}">置顶</span>
    					{{? it.isshare == 1}}
    						<span class="put-top isshare">{{=it.sharetag}}</span>
    					{{?}}
    					{{? it.isdeal == 1}}
    						<span class="put-top isclosed">已关闭</span>
    					{{?}}

    					{{? str_being(it.tagname) && !it.tag_on_end }}
    						<span class="put-top tagname" style="{{=str_being(it.tagcolor) ? ("background-color:"+it.tagcolor) : ""}}">{{=it.tagname}}</span>
    					{{?}}

    					<span>{{=decodeEmoji(it.subject)}}</span>

    					{{? str_being(it.tagname) && it.tag_on_end }}
    						<span class="put-top tagname tag_on_end" style="{{=str_being(it.tagcolor) ? ("background-color:"+it.tagcolor) : ""}}">{{=it.tagname}}</span>
    					{{?}}
    				</div>

                    {{? str_being(it.banner)}}
                        <div class="banner" style="{{=obj_being(it.height) ? ("height:"+it.height+"px") : ""}}">
        					<img class="pic" src="{{=absAssetUrl(it.banner)}}" data-src="{{=absAssetUrl(it.banner)}}"></img>
                        </div>
                    {{?}}

            		<div class="meta">
                        <div class="aui-card-list-user-avatar">
                            <img src="{{=it.avatar}}" data-type="avatar" class="aui-img-round" />
                        </div>
            			<span class="author text">{{=decodeEmoji(it.author)}}</span>
        				<span class="forum text {{=classOnForum()}}" tapmode onclick="!window.noop && tryGotoForum(event, this);">{{=decodeEmoji(it.columnname || it.forumname || '')}}</span>
            			<span class="aui-pull-right">
            				<span class="date {{=classOnDate()}} text">{{=vdateF(it.lastpost)}}&nbsp;</span>
            				<span class="date aui-hide">({{=vdate(it.lastpost, true)}})</span>
            	            <i class="aui-iconfont aui-icon-comment text"></i>
            				<span class="replies text">{{=it.replies}}</span>
            			</span>
            		</div>
                </div> <!-- full/left -->
        </div><!-- main -->
	</div>
</script>

<script id="tpl-feed-row-hot" type="text/x-dot-template">
	{{~ it.threadHots :list:i}}
	<div class="feed-row-hot aui-list-item {{=(list.shared == 1) ? 'post-shared' : ''}}" data-tid="{{=list.tid}}" data-fid="{{=(list.fid || list.columnid)}}" data-from="hot-posts" tapmode onclick="ccn() && views.openPostFromList(this);">
		<div class="main">
			{{? str_being(list.thumbnail)}}
				<div class="right">
					{{?list.duration}}
						<div class="play"></div>
						<div class="duration">{{=fmtSecond(list.duration)}}</div>
					{{?}}
					<img class="pic" src="{{=absAssetUrl(list.thumbnail)}}" />
				</div>
                <div class="left">
			{{??}}
                <div class="full">
			{{?}}
    				<div class="subject">
    					<span>{{=decodeEmoji(list.subject)}}</span>
    				</div>
					<div class="meta">
						<span class="lauds">
							<i class="aui-iconfont aui-icon-laud"></i>{{=list.recommends}}
						</span>
						<span class="replies">
				            <i class="aui-iconfont aui-icon-comment"></i>{{=list.replies}}
						</span>
					</div>
                </div>
        </div><!-- main -->
	</div>
	{{~}}
	<div class="aui-list bor_t_none" onclick="goBefore(this)" data-name="{{=it.columnname}}" data-fid="{{=it.fid}}">
        <div class="aui-list-item">
            <div class="aui-list-item-inner aui-list-item-arrow"><span>进入<span style="color:#D65E5E;"> {{=it.columnname}} </span>板块看更多精彩内容</span></div>
        </div>
    </div>
</script>

<script id="tpl-feed-row-out-site" type="text/x-dot-template">
	<div class="feed-row-out-site aui-list-item" data-tid="{{=it.tid}}" data-fid="{{=(it.fid || it.columnid)}}">
		<a class="mw-related-post" data-tid="{{=it.tid}}">
			<div class="main">
			{{? str_being(it.thumbnail)}}
				<div class="right" data-tid="{{=it.tid}}" onclickx="openPostFromRecommends(this);">
					<img class="pic" src="{{=absAssetUrl(it.thumbnail)}}" data-src="{{=absAssetUrl(it.thumbnail)}}"></img>
				</div>
				<div class="left">
			{{??}}
				<div class="full">
			{{?}}
    				<div class="subject">
    					<span data-tid="{{=it.tid}}" onclickx="openPostFromRecommends(this);">{{=decodeEmoji(it.subject)}}</span>
                    </div>
					<p class="meta">
						<span class="open-app aui-btn aui-btn-info aui-btn-outlined">打开应用查看</span>
						<span class="lauds">
							<i class="aui-iconfont aui-icon-laud"></i>{{=it.recommends}}
						</span>
						<span class="replies">
				            <i class="aui-iconfont aui-icon-comment"></i>{{=it.replies}}
						</span>
					</p>
				</div>
			</div>
		</a>
	</div>
</script>

<script id="tpl-feed-row-out-site-showall" type="text/x-dot-template">
	<div class="feed-row-out-site aui-list-item" data-tid="{{=it.tid}}" data-fid="{{=(it.fid || it.columnid)}}">
		<div class="main" data-tid="{{=it.tid}}" onclick="openPostFromRecommends(this);">
			{{? str_being(it.thumbnail)}}
			<div class="right">
				<img class="pic" src="{{=absAssetUrl(it.thumbnail)}}" data-src="{{=absAssetUrl(it.thumbnail)}}"></img>
			</div>
			<div class="left">
				{{??}}
				<div class="full">
					{{?}}
					<div class="subject">
						<span data-tid="{{=it.tid}}">{{=decodeEmoji(it.subject)}}</span>
					</div>
				</div>
			</div>
		</div>
	</div>
</script>

<script id="tpl-home-comment-cell" type="text/x-dot-template">
	<div class="comment-cell">
		<div class="comment-title-wrapper">
			<div class="comment-title" data-time="{{=it.post.dateline}}" data-fid="{{=it.post.fid}}"
				 data-tid="{{=it.post.tid}}" data-from="home_page" tapmode onclick="ccn() && openPostDetail(this);">原文：{{=it.post.thread_subject}}</div>
			<div class="comment-title-border"></div>
		</div>
		<div class="comment-container" data-pos="{{=it.post.position}}" data-time="{{=it.post.dateline}}" data-fid="{{=it.post.fid}}"
			 data-tid="{{=it.post.tid}}" data-from="home_page" tapmode onclick="ccn() && views.openPostFromList(this);">
			<div class="comment-content">{{=myEmo.transText(fmtContent(decodeEmoji(it.post.message), true, undefined, true))}}</div>
			<div class="comment-toolbar">
				<div class="comment-avatar">
					<img src="{{=it.post.authoravatar}}" class="aui-img-round">
					<div>{{=it.post.author}}</div>
				</div>
				<div class="comment-forum text">{{=it.post.columnname}}</div>
				<div class="comment-toolbar-buttons">
					<div class="comment-toolbar-button" data-tid="{{=it.post.tid}}" data-fid="{{=it.post.fid}}"
						 data-pid="{{=it.post.pid}}" data-authorid="{{=it.post.authorid}}" tapmode onclick="homeCommentShare(event)">
						<img src="../../../global/image/lxx/share.png">
						<div class="text">{{=it.post.reply_sharetimes}}</div>
					</div>
					<div class="comment-toolbar-button" data-tid="{{=it.post.tid}}"  data-pid="{{=it.post.pid}}"
						 data-authorid="{{=it.post.authorid}}" tapmode onclick="homeLaudComment(event)">
						<img class="auix-icon-zan" src="../../../global/image/lxx/zan{{=it.post.recommended_byme ? 1 : 0}}.png">
						<div class="lauds-num text">{{=it.post.recommends}}</div>
					</div>
					<div class="comment-toolbar-button" data-author="{{=it.post.author}}" tapmode onclick="homeReplyComment(event)">
						<img src="../../../global/image/lxx/replies.png">
						<div class="text">{{=it.post.reply_replytimes}}</div>
					</div>
				</div>
			</div>
			<img class="quotes-icon left-top" src="../../../global/image/left-quotes.png">
			<img class="quotes-icon right-top" src="../../../global/image/right-quotes.png">
		</div>
	</div>
</script>


<script type="text/javascript" src="../../../config.js"></script>
<script type="text/javascript" src="../../../global/script/lib/api.js"></script>
<script type="text/javascript" src="../../../global/script/lib/doT.min.js"></script>
<script type="text/javascript" src="../../../global/script/lib/zepto.min.js"></script>
<script type="text/javascript" src="../../../global/script/lib/aui-lazyload.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myChatBox.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myBadge.js"></script>
<script type="text/javascript" src="../../../global/script/mylib.js"></script>
<script type="text/javascript" src="../../../app.js"></script>
<script type="text/javascript" src="./frm.js"></script>
<script>

</script>
</html>

<script type="text/javascript" src="../../../global/script/lib/zepto.ajax.js"></script>
<script type="text/javascript" src="../../../global/script/_fakeApi.js"></script>

<script type="text/javascript">
apiready();

(function() {
    doShowShareEarn({
        isshare: 1,
        income: '100'
    });

	var json = {
	"tid": "92694",
	"pid": "531851",
	"fid": "2",
	"columnname": "\u4efb\u4e18\u7206\u6599",
	"author": "xdz",
	"authorid": "4206",
	"subject": "\u4e0d\u542c\u529d\uff01\u4efb\u4e18\u9a6c\u8def\u4e0a\u7684\u8f66\u771f\u7684\u88ab\u62d6\u8d70\u4e86...&gt;&gt;",
	"dateline": "1525837550",
	"avatar": "http:\/\/img.ikongji.com\/qiniu_avatar\/app1\/000\/00\/42\/06_avatar_3.jpg?imageView2\/2\/w\/120\/h\/120",
	"ismaster": 0,
	"out_site": {
		"path": "pages2\/web\/views\/post\/index.html"
	},
	"content": "<div align=\"center\"><strong><font size=\"3\">\u3010\u4eca\u5929\uff1a\u521b\u4e1a\u8def\u6e05\u7406\u8fdd\u6cd5\u5360\u9053\u8f66\u8f86\u2193\u2193\u2193\u3011<\/font><\/strong><\/div><br \/>\r\n<img src=\"http:\/\/img.ikongji.com\/attachment\/forum\/201805\/09\/170246wq551j9cb4je4ej4.jpg\" width=\"1080\" \/><font size=\"3\"><div align=\"center\"><strong><br \/>\r\n\u3010\u73b0\u573a\uff1a\u4ea4\u8b66\u6302\u51fa\u7684\u8b66\u793a\u6807\u8bed\u2193\u2193\u2193\u3011<\/strong><\/div><br \/>\r\n<\/font><img src=\"http:\/\/img.ikongji.com\/attachment\/forum\/201805\/09\/171442evfkfez4vfll4lhh.jpg\" width=\"1080\" \/><br \/>\r\n<div align=\"center\"><strong><br \/>\r\n<font size=\"3\">\u3010\u4ea4\u8b66\u6e05\u7406\u540e\u7684\u9053\u8def\uff1a\u8c41\u7136\u5f00\u9614\u3011<\/font><\/strong><\/div><br \/>\r\n<img src=\"http:\/\/img.ikongji.com\/attachment\/forum\/201805\/09\/171924qg4rhrhglh5ar1hg.jpg\" width=\"1080\" \/><br \/>\r\n<div align=\"center\"><strong><font size=\"3\"><br \/>\r\n\u3010\u4ea4\u8b66\u5f00\u59cb\u6446\u653e\u9053\u8def\u680f\u6746\u2193\u2193\u2193\u3011<\/font><\/strong><\/div><br \/>\r\n<img src=\"http:\/\/img.ikongji.com\/attachment\/forum\/201805\/09\/172244glwnhs5wggnwkp6n.jpg\" width=\"1080\" \/><br \/>\r\n<div align=\"center\"><strong><br \/>\r\n<font size=\"3\">\u3010\u6240\u6709\u9053\u8def\uff1a\u62a4\u680f\u5168\u90e8\u5b89\u88c5\uff0c\u7ea2\u7eff\u706f\u4e5f\u5df2\u7ecf\u542f\u7528\u3011<\/font><\/strong><\/div><br \/>\r\n<img src=\"http:\/\/img.ikongji.com\/attachment\/forum\/201805\/09\/172715ov7agch9hv3gga0g.jpg\" width=\"1080\" \/><br \/>\r\n<font size=\"3\">\u4e3a\u4ea4\u8b66\u7684\u795e\u901f\u884c\u52a8\u70b9\u4e2a\u8d5e\uff01<\/font><br \/>\r\n<div align=\"center\"><strong><font size=\"3\"><br \/>\r\n\u3010\u6628\u65e5\uff1a\u4ea4\u8b66\u5c31\u53d1\u51fa\u8981\u6e05\u7406\u505c\u8f66\u7684\u516c\u544a\u2193\u2193\u2193\u3011<\/font><\/strong><\/div><br \/>\r\n\u4e3a\u7ef4\u62a4\u826f\u597d\u7684\u9053\u8def\u901a\u884c\u79e9\u5e8f\uff0c\u4fdd\u969c\u4eba\u6c11\u7fa4\u4f17\u7684\u751f\u547d\u8d22\u4ea7\u5b89\u5168\uff0c<strong>\u8fd1\u671f\uff0c\u534e\u5317\u6cb9\u7530\u521b\u4e1a\u8def\u4e0e\u521b\u65b0\u9053\u4ea4\u53c9\u8def\u53e3\u8bbe\u7f6e\u5b89\u88c5\u4e86\u7ea2\u7eff\u706f\u3001\u7535\u5b50\u8b66\u5bdf\u7b49\u4ea4\u901a\u5b89\u5168\u8bbe\u65bd\u3002<\/strong><br \/>\r\n\u6839\u636e\u300a\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u9053\u8def\u4ea4\u901a\u5b89\u5168\u6cd5\u300b\u3001\u300a\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u9053\u8def\u4ea4\u901a\u5b89\u5168\u6cd5\u5b9e\u65bd\u6761\u4f8b\u300b\u7b49\u6cd5\u5f8b\u6cd5\u89c4\u7684\u89c4\u5b9a\uff0c<strong>\u5180\u4e2d\u516c\u5b89\u5c40\u4ea4\u8b66\u652f\u961f\u5c06\u5bf9\u8be5\u8def\u53e350\u7c73\u5185\u505c\u653e\u7684\u8f66\u8f86\u4e88\u4ee5\u6e05\u7406\u3002<br \/>\r\n<\/strong><div align=\"center\"><strong><font size=\"3\"><br \/>\r\n\u30109\u65e5\u5f00\u59cb\u6e05\u7406\uff1a\u8def\u53e350\u7c73\u8303\u56f4\u5185\u7684\u8f66\u8f86\u3011<\/font><\/strong><\/div><br \/>\r\n\u6e05\u7406\u5de5\u4f5c\u5f00\u5c55\u65f6\u95f4\u4e3a2018\u5e745\u67089\u65e5\uff0c\u6e05\u7406\u533a\u57df\u4e3a\u521b\u4e1a\u8def\u4e0e\u521b\u65b0\u9053\u4ea4\u53c9\u8def\u53e350\u7c73\u8303\u56f4\u5185\u7684\u6240\u6709\u505c\u653e\u8f66\u8f86\uff1b<br \/>\r\n<div align=\"center\"><font size=\"3\"><strong><br \/>\r\n\u3010\u5982\u679c\u6ca1\u6709\u6e05\u7406\uff0c\u5c06\u5f3a\u5236\u62d6\u79fb\uff0c\u5e76\u5904\u7f5a\u3011<\/strong><\/font><\/div><br \/>\r\n\u8f66\u8f86\u6240\u6709\u4eba\u81ea\u672c\u901a\u544a\u53d1\u5e03\u4e4b\u65e5\u8d77\uff0c\u7acb\u5373\u79fb\u8d70\u8fdd\u6cd5\u5360\u9053\u8f66\u8f86\uff0c\u5426\u5219\uff0c\u516c\u5b89\u4ea4\u7ba1\u90e8\u95e8\u5c06\u4f9d\u6cd5\u91c7\u53d6\u62d6\u79fb\u7b49\u5f3a\u5236\u63aa\u65bd\uff0c\u5e76\u4e88\u4ee5\u5904\u7f5a\u3002<font size=\"3\"><br \/>\r\n<\/font>",
	"credits": "24898",
	"levelscore": "24898",
	"recommends": "9",
	"repies": "60",
	"sharetimes": "428",
	"gender": "0",
	"residecommunity": "",
	"medals": "",
	"position": "1",
	"isshare": "1",
	"semantic": [],
	"sharethumbnail": "data\/attachment\/forum\/threadcover\/9f\/63\/92694.jpg",
	"recommended": 0,
	"recommend_users": [{
		"uid": "4206",
		"username": "xdz",
		"credits": "24898",
		"levelscore": "24898",
		"regdate": "1506137213",
		"gender": "0",
		"residecommunity": "",
		"medals": "",
		"dateline": "1525837615",
		"avatar": "http:\/\/img.ikongji.com\/qiniu_avatar\/app1\/000\/00\/42\/06_avatar_3.jpg?imageView2\/2\/w\/120\/h\/120",
		"ismaster": 0
	}, {
		"uid": "18790",
		"username": "\u5403\u8d27\u8fbe\u4eba",
		"credits": "22564",
		"levelscore": "22564",
		"regdate": "1515463607",
		"gender": "1",
		"residecommunity": "\u8bae\u8bba\u5821\u4e61",
		"medals": "",
		"dateline": "1525851764",
		"avatar": "http:\/\/img.ikongji.com\/qiniu_avatar\/app1\/000\/01\/87\/90_avatar_6.jpg?imageView2\/2\/w\/120\/h\/120",
		"ismaster": 0
	}, {
		"uid": "22596",
		"username": "\u8f9b\u4e2d\u9a7f\u4e2d\u5174\u7269\u6d4115103273279",
		"credits": "197",
		"levelscore": "197",
		"regdate": "1516083232",
		"gender": "0",
		"residecommunity": "",
		"medals": "",
		"dateline": "1525877601",
		"avatar": "http:\/\/img.ikongji.com\/qiniu_avatar\/app1\/000\/02\/25\/96_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120",
		"ismaster": 0
	}, {
		"uid": "23177",
		"username": "\u5efa\u5f3a\u9a7e\u6821\u5e05\u5c0f\u9c7c",
		"credits": "16641",
		"levelscore": "16641",
		"regdate": "1516160451",
		"gender": "0",
		"residecommunity": "",
		"medals": "",
		"dateline": "1525864553",
		"avatar": "http:\/\/img.ikongji.com\/qiniu_avatar\/app1\/000\/02\/31\/77_avatar_10.jpg?imageView2\/2\/w\/120\/h\/120",
		"ismaster": 0
	}, {
		"uid": "24567",
		"username": "\u8f69\u8f95\u7687\u5e1d",
		"credits": "3055",
		"levelscore": "3055",
		"regdate": "1516282060",
		"gender": "0",
		"residecommunity": "",
		"medals": "",
		"dateline": "1525875914",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_3_middle.gif",
		"ismaster": 0
	}, {
		"uid": "35201",
		"username": "\u4e0d\u544a\u8bc9\u4f60_d",
		"credits": "8992",
		"levelscore": "8992",
		"regdate": "1519010251",
		"gender": "0",
		"residecommunity": "",
		"medals": "",
		"dateline": "1525863607",
		"avatar": "http:\/\/img.ikongji.com\/qiniu_avatar\/app1\/000\/03\/52\/01_avatar_2.jpg?imageView2\/2\/w\/120\/h\/120",
		"ismaster": 0
	}, {
		"uid": "37614",
		"username": "hyh",
		"credits": "2873",
		"levelscore": "2873",
		"regdate": "1520072105",
		"gender": "0",
		"residecommunity": "",
		"medals": "",
		"dateline": "1525844112",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_6_middle.gif",
		"ismaster": 0
	}, {
		"uid": "48189",
		"username": "jxjjs",
		"credits": "864",
		"levelscore": "864",
		"regdate": "1524824535",
		"gender": "0",
		"residecommunity": "",
		"medals": "",
		"dateline": "1525916647",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_9_middle.gif",
		"ismaster": 0
	}, {
		"uid": "49077",
		"username": "\u6cb9\u57ce\u4e4b\u9e70",
		"credits": "16",
		"levelscore": "16",
		"regdate": "1525861794",
		"gender": "0",
		"residecommunity": "",
		"medals": "",
		"dateline": "1525861809",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_9_middle.gif",
		"ismaster": 0
	}],
	"threadHots": [{
		"tid": "93408",
		"fid": "2",
		"posttableid": "0",
		"typeid": "0",
		"sortid": "0",
		"readperm": "0",
		"price": "0",
		"author": "AA\uff5e\u9f99\u5cf0\u536b\u6d74",
		"authorid": "37964",
		"subject": "\u6628\u665a\u6df1\u591c\uff0c\u4efb\u4e18\u67d0\u6751\u53c8\u7740\u5927\u706b\uff0c\u706b\u5149\u51b2\u5929...&gt;&gt;",
		"dateline": "1525878807",
		"lastpost": "1525925044",
		"lastposter": "\u5f20\u6d77\u6d9b",
		"views": "1582",
		"replies": "24",
		"displayorder": "0",
		"highlight": "0",
		"digest": "0",
		"rate": "0",
		"special": "0",
		"attachment": "2",
		"moderated": "0",
		"closed": "0",
		"stickreply": "0",
		"recommends": "2",
		"recommend_add": "2",
		"recommend_sub": "0",
		"heats": "23",
		"status": "1024",
		"isgroup": "0",
		"favtimes": "0",
		"sharetimes": "274",
		"stamp": "-1",
		"icon": "-1",
		"pushedaid": "0",
		"cover": "-9",
		"replycredit": "0",
		"relatebytag": "0",
		"maxposition": "25",
		"bgcolor": "",
		"comments": "0",
		"hidden": "0",
		"isshare": "1",
		"isdeal": "0",
		"webviews": "2703",
		"tag_id": "0",
		"gid": "1283",
		"semanticstype": "",
		"semantics": "",
		"thumbnail": "http:\/\/img.ikongji.com\/pushpostcover\/1525916521207-4.mp4?vframe\/jpg\/offset\/1",
		"duration": "7.765333",
		"avatar": "http:\/\/img.ikongji.com\/qiniu_avatar\/app1\/000\/03\/79\/64_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"tid": "93792",
		"fid": "2",
		"posttableid": "0",
		"typeid": "0",
		"sortid": "0",
		"readperm": "0",
		"price": "0",
		"author": "\u4e0a\u5929\u4e0d\u516c\u5e73",
		"authorid": "49109",
		"subject": "\u5929\u7406\u4f55\u5728\uff0c\u96be\u9053\u4eba\u6b7b\u4e86\u5c31\u53ef\u4ee5\u8fd9\u6837\u5417\uff1f",
		"dateline": "1525921431",
		"lastpost": "1525925550",
		"lastposter": "Once",
		"views": "68",
		"replies": "2",
		"displayorder": "0",
		"highlight": "0",
		"digest": "0",
		"rate": "0",
		"special": "0",
		"attachment": "0",
		"moderated": "0",
		"closed": "0",
		"stickreply": "0",
		"recommends": "0",
		"recommend_add": "2",
		"recommend_sub": "2",
		"heats": "4",
		"status": "1024",
		"isgroup": "0",
		"favtimes": "1",
		"sharetimes": "1",
		"stamp": "-1",
		"icon": "-1",
		"pushedaid": "0",
		"cover": "0",
		"replycredit": "0",
		"relatebytag": "0",
		"maxposition": "3",
		"bgcolor": "",
		"comments": "0",
		"hidden": "0",
		"isshare": "0",
		"isdeal": "0",
		"webviews": "142",
		"tag_id": "0",
		"gid": "1283",
		"semanticstype": "",
		"semantics": "",
		"thumbnail": "http:\/\/img.ikongji.com\/attachment\/forum\/201805\/10\/49109-1525921425981.MOV?vframe\/jpg\/offset\/1",
		"duration": "10.166667",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_5_middle.gif"
	}, {
		"tid": "91871",
		"fid": "2",
		"posttableid": "0",
		"typeid": "0",
		"sortid": "0",
		"readperm": "0",
		"price": "0",
		"author": "xdz",
		"authorid": "4206",
		"subject": "\u4efb\u4e18\u8001\u5317\u4eac\u5e99\u4f1a\uff0c\u5168\u56fd\u90fd\u6709\uff0c\u90fd\u662f\u8fd9\u4e9b\u7684\u2026&gt;&gt;",
		"dateline": "1525753589",
		"lastpost": "1525922501",
		"lastposter": "\ue327\u742a",
		"views": "2906",
		"replies": "50",
		"displayorder": "0",
		"highlight": "0",
		"digest": "0",
		"rate": "0",
		"special": "0",
		"attachment": "2",
		"moderated": "0",
		"closed": "0",
		"stickreply": "0",
		"recommends": "11",
		"recommend_add": "12",
		"recommend_sub": "1",
		"heats": "37",
		"status": "1024",
		"isgroup": "0",
		"favtimes": "0",
		"sharetimes": "409",
		"stamp": "-1",
		"icon": "-1",
		"pushedaid": "0",
		"cover": "-11",
		"replycredit": "0",
		"relatebytag": "0",
		"maxposition": "51",
		"bgcolor": "",
		"comments": "0",
		"hidden": "0",
		"isshare": "1",
		"isdeal": "0",
		"webviews": "3846",
		"tag_id": "0",
		"gid": "1283",
		"semanticstype": "",
		"semantics": "",
		"thumbnail": "data\/attachment\/forum\/threadcover\/2f\/c7\/91871.jpg",
		"duration": null,
		"avatar": "http:\/\/img.ikongji.com\/qiniu_avatar\/app1\/000\/00\/42\/06_avatar_3.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"tid": "93761",
		"fid": "2",
		"posttableid": "0",
		"typeid": "0",
		"sortid": "0",
		"readperm": "0",
		"price": "0",
		"author": "\u4e0a\u5929\u4e0d\u516c\u5e73",
		"authorid": "49109",
		"subject": "\u5929\u7406\u4f55\u5728\uff0c",
		"dateline": "1525919213",
		"lastpost": "1525923945",
		"lastposter": "\u6765\u81ea\u661f\u661f\u7684\u4f60",
		"views": "185",
		"replies": "4",
		"displayorder": "0",
		"highlight": "0",
		"digest": "0",
		"rate": "0",
		"special": "0",
		"attachment": "0",
		"moderated": "0",
		"closed": "0",
		"stickreply": "0",
		"recommends": "0",
		"recommend_add": "0",
		"recommend_sub": "0",
		"heats": "4",
		"status": "1024",
		"isgroup": "0",
		"favtimes": "0",
		"sharetimes": "9",
		"stamp": "-1",
		"icon": "-1",
		"pushedaid": "0",
		"cover": "0",
		"replycredit": "0",
		"relatebytag": "0",
		"maxposition": "5",
		"bgcolor": "",
		"comments": "0",
		"hidden": "0",
		"isshare": "0",
		"isdeal": "0",
		"webviews": "220",
		"tag_id": "0",
		"gid": "1283",
		"semanticstype": "",
		"semantics": "",
		"thumbnail": "http:\/\/img.ikongji.com\/attachment\/forum\/201805\/10\/49109-1525919212417.MOV?vframe\/jpg\/offset\/1",
		"duration": "9.969974",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_5_middle.gif"
	}]
};

	var html = doT_Render('#tpl-post', json);
    $('#post').html(html);
    fixTagsFrameHeight();
	renderHotPosts(json)
	if (json.recommends > 0) {
        renderLauderList(json);
	}
	// initVideo();
	utils.initLazyImg('../');
	var video = $api.domAll($api.dom('#post'),'video');
	var seekBar = $api.domAll('.seek-bar')
	for (var i = 0; i < video.length; i++) {
		video[i].addEventListener('timeupdate',function(){
			var value = (100 / this.duration) * this.currentTime;
			var dom = $api.dom($apix.parent(this),'.seek-bar');
			var time = $api.dom($apix.parent(this),'.initTime');
			if(this.currentTime < this.duration){
				time.innerHTML = fmtSecond(this.currentTime);
			}
			// Update the slider value
			dom.value = value;
		})
		video[i].addEventListener("ended",function(){
			var dom = $api.dom($apix.parent(this),'.play1');
			$api.removeCls(dom, 'aui-hide');
			$api.removeCls($api.dom($apix.parent(this),'.video-controls'), 'aui-hide');

			 $api.removeCls(dom, 'active');
			 clearTimeout(timer)
		})
		seekBar[i].addEventListener("change", function() {
			// Calculate the new time
			var par = $apix.parent(this)
			var vi = $api.dom($apix.parent(par),'video');
			var time = vi.duration * (this.value / 100);
			// Update the video time
			vi.currentTime = time;
	});

	}

    var postAd = {
        tid: 63328,
        fid: 2,
        image: 'http://img.ikongji.com/attachment/forum/201805/09/170246wq551j9cb4je4ej4.jpg'
    };
    var html = doT_Render('#tpl-post-image-ad', postAd);
    $api.byId("post-Ad").innerHTML = html;
})();

(function() {
	var json = [{
	"tid": "52753",
	"pid": "374232",
	"author": "\u738b\u8005\u519c\u836f",
	"authorid": "5029",
	"subject": "",
	"dateline": "1521514052",
	"message": "\u4f4f\u5bbe\u9986\u4e00\u5b9a\u8981\u5c0f\u5fc3",
	"position": "2",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "8854",
	"credits": "8854",
	"gender": "0",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "374312",
	"author": "\u81ea\u5a31\u81ea\u4e50\u81ea\u5df1\u8fc7",
	"authorid": "18790",
	"subject": "",
	"dateline": "1521515334",
	"message": "\u81ea\u627e\u7684\uff0c\u7f51\u53cb\u5c31\u4e0d\u5e94\u8be5\u89c1",
	"position": "3",
	"recommends": "1",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "9968",
	"credits": "9968",
	"gender": "1",
	"residecommunity": "\u8bae\u8bba\u5821\u4e61",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/01\/87\/90_avatar_3.jpg?imageView2\/2\/w\/120\/h\/120",
	"recommended": 0,
	"recommendusers": [{
		"tid": "52753",
		"pid": "374312",
		"uid": "39343",
		"attitude": "1",
		"dateline": "1521516311",
		"gid": "1283"
	}]
}, {
	"tid": "52753",
	"pid": "374452",
	"author": "\u5154\u5b50\u54e5",
	"authorid": "28518",
	"subject": "",
	"dateline": "1521519125",
	"message": "\u5403\u4e86\u4eba\u5bb6\u996d\uff0c\u4e0d\u8ba9\u556a\uff1f",
	"position": "4",
	"recommends": "1",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "136",
	"credits": "136",
	"gender": "0",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/85\/18_avatar_2.jpg?imageView2\/2\/w\/120\/h\/120",
	"recommended": 0,
	"recommendusers": [{
		"tid": "52753",
		"pid": "374452",
		"uid": "32755",
		"attitude": "1",
		"dateline": "1521521014",
		"gid": "1283"
	}]
}, {
	"tid": "52753",
	"pid": "374455",
	"author": "\u4e16\u754c\u4e0a\u7684\u4eba",
	"authorid": "29131",
	"subject": "",
	"dateline": "1521519221",
	"message": "\u771f\u5927\u80c6\u554a\uff01\u4e00\u4e2a\u4eba\u53bb",
	"position": "5",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "4156",
	"credits": "4156",
	"gender": "2",
	"residecommunity": "\u534e\u5317\u77f3\u6cb9\u7ba1\u7406\u5c40",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/91\/31_avatar_2.jpg?imageView2\/2\/w\/120\/h\/120",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "374466",
	"author": "\u897f\u4f2f\u5229\u4e9a\u72fc",
	"authorid": "25602",
	"subject": "",
	"dateline": "1521519597",
	"message": "\u4ea4\u53cb\u4e0d\u614e",
	"position": "6",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "4053",
	"credits": "4053",
	"gender": "0",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_6_middle.gif",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "374535",
	"author": "\u6211\u60f3\u627e\u5230\u4ed6",
	"authorid": "31709",
	"subject": "",
	"dateline": "1521520525",
	"message": "\u54ea\u4e2a\u5bbe\u9986\u5440",
	"position": "7",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "114",
	"credits": "114",
	"gender": "0",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_5_middle.gif",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "374594",
	"author": "\u516b\u7ea7\u5927\u72c2\u75af\u4e36",
	"authorid": "18950",
	"subject": "",
	"dateline": "1521521638",
	"message": "\u8279 \u81ea\u5df1\u89c1\u7f51\u53cb\u5c31\u5f97\u8ba9\u556a\u556a\u8fd9\u4e2a\u90fd\u4e0d\u61c2\u8fd8\u89c1\u7f51\u53cb\u3002\u3002",
	"position": "9",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "146",
	"credits": "146",
	"gender": "2",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/01\/89\/50_avatar_6.jpg?imageView2\/2\/w\/120\/h\/120",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "374928",
	"author": "K'K'",
	"authorid": "27638",
	"subject": "",
	"dateline": "1521532387",
	"message": "\u53c8\u60f3\u5f53\u706c\u53c8\u60f3\u7acb\u724c\u574a",
	"position": "10",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "132",
	"credits": "132",
	"gender": "2",
	"residecommunity": "\u8bae\u8bba\u5821\u4e61",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/76\/38_avatar_3.jpg?imageView2\/2\/w\/120\/h\/120",
	"recommended": 0,
	"recommendusers": ""
},  {
	"tid": "52753",
	"pid": "375181",
	"author": "\u4efb\u4e18\u5c0f\u767d",
	"authorid": "11193",
	"subject": "",
	"dateline": "1521539525",
	"message": "\u5927\u5bb6\u7684\u8bc4\u8bba\u4eae\u4e86\u3002\u5973\u5b50\u6240\u89c1\u7f51\u53cb\u662f\u90d1\u67d0\uff0c\u6027\u4fb5\u5973\u5b50\u7684\u662f\u9648\u67d0\u597d\u4e0d\uff01",
	"position": "12",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "2",
	"credits": "2",
	"gender": "0",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "375453",
	"author": "\u5feb\u4e50\u65f6\u5149_j",
	"authorid": "29314",
	"subject": "",
	"dateline": "1521545929",
	"message": "\u6d3b\u8be5",
	"position": "13",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "3166",
	"credits": "3166",
	"gender": "0",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/93\/14_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "375517",
	"author": "\u65e0\u804a\u6765\u770b\u770b",
	"authorid": "26527",
	"subject": "",
	"dateline": "1521546949",
	"message": "\u5929\u4e0b\u54ea\u6709\u767d\u5403\u767d\u559d\u7684\u4e8b\u60c5",
	"position": "14",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "1488",
	"credits": "1488",
	"gender": "0",
	"residecommunity": "\u534e\u5317\u77f3\u6cb9\u7ba1\u7406\u5c40",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/65\/27_avatar_2.jpg?imageView2\/2\/w\/120\/h\/120",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "375607",
	"author": "\u674e\u78ca123",
	"authorid": "37821",
	"subject": "",
	"dateline": "1521548029",
	"message": "\u4ed6\u5c31\u662f\u53bb\u627e\u64cd\u7684\u4e86\uff0c",
	"position": "15",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "159",
	"credits": "159",
	"gender": "0",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_9_middle.gif",
	"recommended": 0,
	"recommendusers": ""
}, {
	"tid": "52753",
	"pid": "376424",
	"author": "\u51b0\u6cb3",
	"authorid": "28877",
	"subject": "",
	"dateline": "1521585839",
	"message": "\u53bb\u5e72\u561b\u4e86\uff0c\u4e0d\u5c31\u53bb\u5e72\u90a3\u4e8b\u513f\u4e86\u5417",
	"position": "16",
	"recommends": "0",
	"replies": "15",
	"sharetimes": "1",
	"levelscore": "130",
	"credits": "130",
	"gender": "2",
	"residecommunity": "",
	"medals": "",
	"reply": "",
	"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/88\/77_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120",
	"recommended": 0,
	"recommendusers": ""
}];

	var html = doT_Render('#tpl-comments', json);
    $('#comments').html(html);
    $apix.removeHide($api.byId('comments-frame'));

	var html = doT_Render('#tpl-comments', json);
    $('#hot-comments').html(html);
    $apix.removeHide($api.byId('pre-hot'));

    fooPreComments();

    var hot = {
        "status": 200,
        "msg": "成功",
        "data": [
            {
                "tid": "14813",
                "fid": "2",
                "posttableid": "0",
                "typeid": "0",
                "sortid": "0",
                "readperm": "0",
                "price": "0",
                "author": "小雪轩",
                "authorid": "10678",
                "subject": "【突发】文化道菜市场突发大火，火光冲天>>",
                "dateline": "1510929725",
                "lastpost": "1510970288",
                "lastposter": "定做超白缸",
                "views": "4189",
                "replies": "33",
                "displayorder": "0",
                "highlight": "0",
                "digest": "0",
                "rate": "0",
                "special": "0",
                "attachment": "2",
                "moderated": "1",
                "closed": "0",
                "stickreply": "0",
                "recommends": "4",
                "recommend_add": "4",
                "recommend_sub": "0",
                "heats": "26",
                "status": "0",
                "isgroup": "0",
                "favtimes": "0",
                "sharetimes": "75",
                "stamp": "-1",
                "icon": "-1",
                "pushedaid": "0",
                "cover": "2",
                "replycredit": "0",
                "relatebytag": "0",
                "maxposition": "36",
                "bgcolor": "",
                "comments": "0",
                "hidden": "0"
            },
        ]
    };

    for (var i = 0; i < 3; i++) {
        var html = doT_Render('#tpl-feed-row-hot', hot.data[0]);
        $api.append($api.byId('hot-posts'), html);
    }
    $apix.removeHide($api.byId('hot-posts-frame'));
})();

</script>
